﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
using XCWechat.Entities.Clients;
using XCWechat.Entities.Customers;
using XCWechat.Entities.Customers.ContactPersons;
using XCWechat.Entities.Customers.CustomerGroups;

namespace XCWechat.Contexts
{
    [ConnectionStringName("Default")]
    public class XCWechatDbContext : AbpDbContext<XCWechatDbContext>
    {
        public XCWechatDbContext(DbContextOptions<XCWechatDbContext> options) : base(options)
        {
        }

        public DbSet<ClientInfo> ClientInfos { get; set; }
        public DbSet<ContactPerson> ContactPersons { get; set; }
        public DbSet<CustomerGroup> CustomerGroups { get; set; }
        public DbSet<Customer> Customers { get; set; }
    }
}
